package cn.edu.nit;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@EnableAsync
@MapperScan("cn.edu.nit.sys.mapper")
public class SchoolApplication {

    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(SchoolApplication.class);
        springApplication.setBannerMode(Banner.Mode.LOG);
        springApplication.run(SchoolApplication.class, args);
    }

}
